import { IParam } from '../../common';
import { ITreeViewAbility } from './i-tree-view-ability';
/**
 * 选择表格视图能力接口
 *
 * @export
 * @interface IPickupTreeViewAbility
 * @extends {IMDViewAbility}
 */
export interface IPickupTreeViewAbility extends ITreeViewAbility {
	/**
	 * 选择全部
	 *
	 * @memberof IPickupTreeViewAbility
	 */
	selectAll(): void;

	/**
	 * 选中数据
	 *
	 * @param {IParam[]} items 需要选中的数据
	 * @param {boolean} [reverse] 是否反选
	 * @memberof IPickupTreeViewAbility
	 */
	selectItems(items: IParam[], reverse?: boolean): void;
}
